package com.web.surf.sample.eshop.database.manager.services;

import com.web.surf.sample.eshop.database.dao.interfaces.IOrderDao;
import com.web.surf.sample.eshop.database.manager.interfaces.IOrderService;
import com.web.surf.sample.eshop.faces.managed.beans.OrderBean;

public class OrderServiceImpl implements IOrderService {

	private IOrderDao orderDao;

	public void insertOrder(OrderBean order) {
		orderDao.insertOrder(order);
	}

	// Spring
	public void setOrderDao(IOrderDao orderDao) {
		this.orderDao = orderDao;
	}
}
